<template>
  <div>
    <el-select v-bind="$attrs" :value="props.defaultValue" :multiple="props.multipile">
      <el-option v-for="item in props.options" :key="item.value + item.lable" :label="item.lable" :value="item.value"
        :disabled="item.disabled" />
    </el-select>
  </div>
</template>

<script setup lang="ts">
import { onMounted, onUnmounted } from 'vue';
import type { SelectOptionsType } from './types';
defineOptions({
  name: 'CusElSelect'
})
const props = withDefaults(defineProps<{
  defaultValue: string | number
  multipile: boolean
  options: Array<SelectOptionsType>
}>(), {
  defaultValue: '',
  multiple: false,
})

onMounted(() => {

});
onUnmounted(() => {

});
</script>

<style scoped lang="less"></style>
